﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Model
{

    #region t_customer
    /// <summary>
    /// 数据库 [ecreatenet] 中表 [dbo.t_customer] 的实体类.
    /// </summary>
    /// 创建日期: 2009-9-17
    /// 修 改 人: 
    /// 修改日期:
    /// 修改内容:
    /// 版    本: 1.0.0
    [Serializable]
    public class t_customer
    {
        private string cus_id;

        private string password = String.Empty;
        private string passwordanswer = String.Empty;
        private string passwordquestion = String.Empty;
        private string cus_name = String.Empty;
        private string cus_address = String.Empty;
        private string cus_tel = String.Empty;
        private string cus_linkman = String.Empty;
        private string cus_account = String.Empty;
        private string areacode = String.Empty;
        private string level_one_userid = String.Empty;
        private string level_two_userid = String.Empty;
        private DateTime createdate;
        private DateTime canceldate;
        private int useflag;

        // Instantiate empty t_customer for inserting
        public t_customer() { }

        // Retrieve t_customer with Id for updating
        public t_customer(string cus_id)
        {
            this.cus_id = cus_id;
        }

        #region Public Properties

        public string Cus_id
        {
            get { return cus_id; }
            set { cus_id = value; }
        }


        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string Passwordanswer
        {
            get { return passwordanswer; }
            set { passwordanswer = value; }
        }

        public string Passwordquestion
        {
            get { return passwordquestion; }
            set { passwordquestion = value; }
        }

        public string Cus_name
        {
            get { return cus_name; }
            set { cus_name = value; }
        }

        public string Cus_address
        {
            get { return cus_address; }
            set { cus_address = value; }
        }

        public string Cus_tel
        {
            get { return cus_tel; }
            set { cus_tel = value; }
        }

        public string Cus_linkman
        {
            get { return cus_linkman; }
            set { cus_linkman = value; }
        }

        public string Cus_account
        {
            get { return cus_account; }
            set { cus_account = value; }
        }

        public string Areacode
        {
            get { return areacode; }
            set { areacode = value; }
        }

        public string Level_one_userid
        {
            get { return level_one_userid; }
            set { level_one_userid = value; }
        }

        public string Level_two_userid
        {
            get { return level_two_userid; }
            set { level_two_userid = value; }
        }

        public DateTime Createdate
        {
            get { return createdate; }
            set { createdate = value; }
        }

        public DateTime Canceldate
        {
            get { return canceldate; }
            set { canceldate = value; }
        }

        public int Useflag
        {
            get { return useflag; }
            set { useflag = value; }
        }
        #endregion
    }
    #endregion
	

	

	

}
